home *** CD-ROM | disk | FTP | other *** search
/ Voyager Presents CD-ROM's That Matter / Voyager Presents CD-ROM's That Matter.iso / pc / demos / beetwin / beet.dir / 00056.ls < prev    next >
Encoding:
Text File  |  1994-10-20  |  531 b   |  38 lines

  1. on enterFrame
  2.   cursor(200)
  3. end
  4.  
  5. on waitQT chan
  6.   if the movieRate of sprite chan = 1 then
  7.     go(the frame)
  8.   end if
  9. end
  10.  
  11. on waitSound chan
  12.   if soundBusy(chan) = 1 then
  13.     go(the frame)
  14.   end if
  15. end
  16.  
  17. on myWait theTicks
  18.   set myTicks to theTicks + the ticks
  19.   repeat while myTicks >= the ticks
  20.     updateStage()
  21.   end repeat
  22. end
  23.  
  24. on waiting theTicks
  25.   if theTicks > the timer then
  26.     go(the frame)
  27.   end if
  28. end
  29.  
  30. on keyDown
  31.   global autoPlaying
  32.   set autoPlaying to 0
  33.   sound stop 1
  34.   sound stop 2
  35.   unLoadCast()
  36.   play done
  37. end
  38.